package com.briup.server.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 审核预约信息DTO
 */
@Data
@Schema(description = "审核预约信息DTO")
public class RentalApprovalDTO {
    @Schema(description = "预约信息ID")
    @NotEmpty(message = "预约信息ID不能为空")
    private String id;
    @Schema(description = "审核结果（true：通过，false：拒绝）")
    @NotNull(message = "审核结果不能为空")
    private Boolean approved;
    @Schema(description = "审核拒绝原因")
    private String reason;
}
